@layout("/common/_container.html",{js:["/assets/common/module/ueditor/ueditor.config.js","/assets/common/module/ueditor/ueditor.all.js","/assets/modular/recy/bins/bins_add.js","/assets/common/libs/rapid-validator/prototype_for_validation.js","/assets/common/libs/rapid-validator/validation_cn.js","/assets/common/libs/rapid-validator/tooltips.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加回收箱</span>
</div>

<div class="layui-container" style="">
    <form id="articleForm" lay-filter="articleForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
        <input name="id" type="hidden"/>
        <div class='layui-form-item'>
            <div class="layui-inline">
                <label class="layui-form-label">回收箱名称</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="name" name="name" placeholder="回收箱名称" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">所在区域</label>
                <div class="layui-input-block">
<!--                    <input style="width:150px" id="area" name="area" placeholder="所在区域" type="text" class="layui-input   required" />-->
                    <select name="area" lay-search>
                        @for(area in areaList){
                        <option value="${area.name}">${area.name}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">详细地址</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="address" name="address" placeholder="详细地址" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">GPS信息</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="gpsInfo" name="gpsInfo" placeholder="GPS信息" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="status" name="status" placeholder="状态" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">可回收物类别</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="wasteTypes" name="wasteTypes" placeholder="可回收物类别" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">维护人员</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="manageUserId" name="manageUserId" placeholder="维护人员" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">二维码url</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="qrcodeUrl" name="qrcodeUrl" placeholder="二维码url" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">二维码ticket</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="qrcodeTicket" name="qrcodeTicket" placeholder="二维码ticket" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">二维码图片</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="qrcodeImg" name="qrcodeImg" placeholder="二维码图片" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="createTime" name="createTime" placeholder="创建时间" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">投放使用时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="useTime" name="useTime" placeholder="投放使用时间" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">状态描述</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="statusDesc" name="statusDesc" placeholder="状态描述" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">最后使用时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="lastUpdateTime" name="lastUpdateTime" placeholder="最后使用时间" type="text" class="layui-input   required" />
                </div>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog" id="backupPage">返回</button>
        </div>
    </form>
</div>

@}